home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
BBS-Archive
/
Comm
/
AmiTCP30b2.lha
/
src
/
devs
/
rhslip
/
device_protos.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-28
|
3KB
|
90 lines
/*
** $Source: /m/lerppu/u3/projects/Dec93/ohtatcp/amitcp/src/devs/rhslip/RCS/device_protos.h,v $
** $State: Exp $
** $Revision: 37.2 $
** $Date: 1992/08/23 21:23:07 $
** $Author: kcd $
**
** Amiga SANA-II Example SLIP device driver.
**
** (C) Copyright 1992 Commodore-Amiga, Inc.
**
*/
/* Prototypes for functions defined in device_funcs.c */
ULONG ASM DevOpen(REG(a1) struct IOSana2Req * ios2,
REG(a6) struct SLIPDevice *SLIPDevice,
REG(d0) ULONG s2unit,
REG(d1) ULONG s2flags);
BPTR ASM DevClose(REG(a1) struct IOSana2Req * ios2,
REG(a6) struct SLIPDevice *SLIPDevice);
BPTR ASM DevExpunge(REG(a6) struct SLIPDevice *SLIPDevice);
struct SLIPDevUnit *InitSLIPUnit(ULONG s2unit);
VOID ExpungeUnit(struct SLIPDevUnit *sdu);
BOOL ReadConfig(struct SLIPDevUnit *sdu);
VOID ASM DevBeginIO(REG(a1) struct IOSana2Req * ios2,
REG(a6) struct SLIPDevice *SLIPDevice);
VOID PerformIO(struct IOSana2Req *ios2);
VOID GetSpecialStats(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID GetGlobalStats(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID GetTypeStats(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID TrackType(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID UnTrackType(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID PacketReceived(struct SLIPDevUnit *sdu,
ULONG length);
VOID PacketSent(struct SLIPDevUnit *sdu,
ULONG length);
VOID PacketOverrun(struct SLIPDevUnit *sdu);
VOID ReceivedGarbage(struct SLIPDevUnit *sdu);
VOID PacketDropped(struct SLIPDevUnit *sdu);
VOID TermIO(struct IOSana2Req *ios2);
ULONG ASM DevAbortIO(REG(a1) struct IOSana2Req * ios2,
REG(a6) struct SLIPDevice *SLIPDevice);
ULONG AbortReq(struct MinList *minlist,
struct IOSana2Req *ios2);
VOID ConfigInterface(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID GetStationAddress(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID DeviceQuery(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID WritePacket(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID SendPacket(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
ULONG EncodeSLIP(UBYTE *source,
UBYTE *dest,
ULONG length);
VOID ReadPacket(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID ReadOrphan(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
BOOL InitSerial(struct SLIPDevUnit *sdu);
VOID DeinitSerial(struct SLIPDevUnit *sdu);
VOID OnEvent(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
BOOL OpenSerial(struct SLIPDevUnit *sdu);
VOID MarkTimeOnline(struct SLIPDevUnit *sdu);
VOID CloseSerial(struct SLIPDevUnit *sdu);
VOID Online(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID Offline(struct SLIPDevUnit *sdu,
struct IOSana2Req *ios2);
VOID DoEvent(struct SLIPDevUnit *sdu,
ULONG event);
VOID DoOffline(struct SLIPDevUnit *sdu);
VOID ServiceTxPort(struct SLIPDevUnit *sdu);
VOID DoSerial(struct SLIPDevUnit *sdu,
struct IOExtSer *ioSer);
VOID GotPacket(struct SLIPDevUnit *sdu,
ULONG length);
VOID QueueSerRequest(struct SLIPDevUnit *sdu);
VOID ASM DevProcCEntry(VOID);
VOID NewList(struct List *list);